package com.cz.cloud.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("t_order")
public class TOrderEntity implements Serializable {

    private static final long serialVersionUID = 1764467387341606912L;


    /**    **/
    @TableId(value="id",type = IdType.ASSIGN_ID)
    private String id;

    /**    **/
    @TableField("item_id")
    private Long itemId;

    /**    **/
    @TableField("item_num")
    private Long itemNum;

    /**    **/
    @TableField("user_id")
    private String userId;

}
